package light.mvc.service.admin;

import java.util.List;

import light.mvc.page.admin.Resource;
import light.mvc.page.base.SessionInfo;
import light.mvc.page.base.Tree;


public interface ResourceServiceI {
	
	public List<Resource> treeGrid();
	
	public void add(Resource resource);

	public void delete(Integer id);

	public void edit(Resource resource);

	public Resource get(Integer id);
	
	public List<String> resourceAllList();
	
	public List<Tree> tree(SessionInfo sessionInfo);
	
	public List<Tree> allTree(boolean flag);

}
